/*
**  Apache License, Version 2.0
**  Notes:Use this command to anonymously check out the latest project source code:
**  Non-members may check out a read-only working copy anonymously over HTTP.
**  SVN checkout http://YHHLineCommandWsp.googlecode.com/svn/trunk/ 
**
**  Author:		Kevin Yang
**  Email:		Bigearrabbit@qq.com
**
**  DATE:		2013-4-6
**
**  File Name:	YHHELineCommandChildCkeFeature.cpp
**
**  Notes:
**  
*/
//===================================================================
//
// Provide implementation to interface
//    CATKweInstanceAdapter
//
//===================================================================

#include "YHHELineCommandChildCkeFeature.h"
 
CATImplementClass(YHHELineCommandChildCkeFeature,DataExtension,CATBaseUnknown,YHHLineCommandChild );


#include "TIE_CATICkeFeature.h"
TIEchain_CATICkeFeature(YHHELineCommandChildCkeFeature);
 
// LiteralFeatures
#include "CATGlobalFunctions.h"
#include "CATITypeDictionary.h"

#include "iostream.h"


#include "CATIType.h"
//-----------------------------------------------------------------------------
// YHHELineCommandChildCkeFeature : constructor
//-----------------------------------------------------------------------------
YHHELineCommandChildCkeFeature::YHHELineCommandChildCkeFeature(): CATKweInstanceAdapter()
{
}
YHHELineCommandChildCkeFeature::~YHHELineCommandChildCkeFeature()
{
}
//-----------------------------------------------------------------------------
// Implements CATKweInstanceAdapter::GetType
//-----------------------------------------------------------------------------
CATICkeType_var YHHELineCommandChildCkeFeature::GetType () const
{
    cout <<" YHHELineCommandChildCkeFeature" << endl;
	CATITypeDictionary_var TypeDic =  CATGlobalFunctions::GetTypeDictionary();
	if (TypeDic != NULL_var ) { 
		CATIType_var oType;  
		HRESULT rc = TypeDic ->FindTypeSafe("Curve","",oType );
		if (SUCCEEDED(rc))  { 
			return  oType ;
		}
	}
	return NULL_var ;
}

